package com.qqtech.qquan.mall.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.mall.model.MallSupplier;
import com.qqtech.qquan.mall.model.MallSupplierVo;

@Repository
public class MallSupplierDaoImpl extends BaseDaoImpl<MallSupplier> implements MallSupplierDao {
	public static final Logger log = LoggerFactory.getLogger(MallSupplierDaoImpl.class);

	@Override
	public MallSupplierVo getByName(String name) {
		return sqlSessionTemplate.selectOne(getSqlName("selectByName"), name);
	}
	
}
